﻿<%@ Page Language="C#" MasterPageFile="~/MasterALSafa.Master"AutoEventWireup="true" CodeBehind="SRV_Clothe_Receiving .aspx.cs" Inherits="School.Pages.Uniforms.SRV_Clothe_Receiving" %>
<%@ Register src="../UserControls/CampusPackage.ascx" tagname="CampusPackage" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
  <asp:UpdatePanel ID="UpdatePanel1" runat="server">
  <ContentTemplate>
    <div>
     <table align="right" dir="rtl">
            <tr>
                <td colspan="2">
                    <uc1:CampusPackage ID="CampusPackage1" runat="server" />
                </td>
                <td>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td style="width: 85px;">
                    الزى 
                </td>
                <td>
                    <asp:DropDownList Width="145" ID="ddlClothes" DataValueField="Id" DataTextField="Name"
                        runat="server">
                    </asp:DropDownList>
                    
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td colspan="3" style="padding-right: 25px;">
                    <asp:Button ID="btnSaveStation" runat="server" Text="بحث" ValidationGroup="bu" Width="81px"
                       CssClass="graybutton" OnClick="btnSaveStation_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="4" style="color: Green">
                    <asp:Literal ID="lblResult" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:GridView ID="GridView1" runat="server" Width="600px" DataKeyNames="Size_Id"
                        AutoGenerateColumns="False" CssClass="Grid"
                    HeaderStyle-CssClass="GridHeaderFooter" FooterStyle-CssClass="GridHeaderFooter"
                    PagerStyle-CssClass="GridPager" AlternatingRowStyle-CssClass="GridItemAltername">
                        <Columns>
                         <asp:BoundField DataField="Name" HeaderText="المقاس" />
                            <asp:TemplateField HeaderText="الكميه">
                                <ItemTemplate>
                                    <asp:TextBox ID="txtQty" onkeypress="return FilterInt(this, event)" runat="server"></asp:TextBox>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                  </asp:GridView>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="height: 50px; vertical-align: middle; padding-right: 150px;">
                    <asp:Button ID="btnSaveChanges" Width="120" runat="server" Text="حفظ" 
                      CssClass="graybutton"  onclick="btnSaveChanges_Click"/>
                </td>
            </tr>
        </table>
    </div>
    </ContentTemplate>
    </asp:UpdatePanel>
  </asp:Content>